body,
html {
    width: 100%;
    height: 100%;
}

body {
    background-image: url(../img/snakePlay.png);
    // background-size: cover ;
    background-size: contain;
    // background-repeat: no-repeat;
    background-position: center;
}

.box {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 290px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 2px solid #ddd;
    border-radius: 20px;
    overflow: hidden;

    .title {
        position: relative;
        height: 100px;
        background-image: url(../img/未标题-1.png);
        background-size: cover;
        background-position: center;



        span {
            top: 30px;
            left: 125px;
            position: absolute;
            // vertical-align: bottom;
            display: block;
            font-size: 50px;
            // text-align: center;
            font-weight: bold;
        }
    }

    .body {
        padding: 10px;
        display: flex;
        flex-direction: column;
        background-color: #fff;

        .in {
            div {
                font-size: 17px;
                margin-bottom: 5px;
            }

            input {
                box-sizing: border-box;
                width: 100%;
                height: 30px;
                margin-bottom: 8px;
                border: 2px solid #ddd;
                border-radius: 5px;
            }
        }

        .btn {
            display: flex;
            justify-content: space-between;

            input {
                box-sizing: border-box;
                width: 80px;
                height: 50px;
                border: 2px solid #ddd;
                border-radius: 10px;
            }
        }
    }
}
.alertBox{
    position: absolute;
    // display: flex;
    display: none;
    flex-direction: column;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 200px;
    height: 100px;
    // border-radius: 20px;
    border: 2px solid #ccc;
    overflow: hidden;
    background-color: #eee;
    .x{
        width: 12px;
        align-self: flex-end;
        padding: 5px;
    }
}